package gclib;

/**
 * An example of an effect is depicted below:
 * <pre>
 * <b>Thaneborn Triumph:</> You gain a bonus to AC equal to your Charisma modifier against
 * any opportunity attack you provoke during your charge.
 *</pre>
 * There are multiple key points in the text that are required to be decrypted and applied
 * to the character. Some effects, like this one, are particularily situational and are only
 * 'enabled' in such times.
 *
 * With the given example there are 4 attributes:
 * <ol>
 * <li>AC</li>
 * <li>Charisma modifier</li>
 * <li>any opportunity attack</li>
 * <li>during your charge</li>
 * </ol>
 *
 * @author Jason
 */
public abstract class Effect {

	protected String effectedValue = "";

	protected String text = "";
	protected Object[] values = null;

	public Effect() {
	}

	public Effect(String text, Object[] values) {
		this.text = text;
		this.values = values;
	}

	public String getText(){
		return text;
	}

	public void setText(String text){
		this.text = text;
	}

	public Object[] getValues(){
		return values;
	}

	public void setValues(Object[] values){
		this.values = values;
	}
}
